//
//  StoreInformationSixTableViewCell.m
//  GLGW_Shoping
//
//  Created by whx on 2018/12/10.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "StoreInformationSixTableViewCell.h"

@implementation StoreInformationSixTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        GLGWTextView *textV = [[GLGWTextView alloc] initWithFontType:SYSTEMFONT(14) colorType:kColor_Rule_Black inSuperView:self.contentView];
        [textV mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView).offset(kHeightProportion_In_iPhoneTriploid(10));
            make.left.equalTo(self.contentView).offset(kHeightProportion_In_iPhoneTriploid(15));
            make.right.equalTo(self.contentView.mas_right).offset(-kHeightProportion_In_iPhoneTriploid(15));
            make.height.equalTo(@(kHeightProportion_In_iPhoneTriploid(93)));
            make.bottom.equalTo(self.contentView.mas_bottom).offset(-kHeightProportion_In_iPhoneTriploid(24));
        }];
        textV.newTextContainerInset = UIEdgeInsetsMake(kHeightProportion_In_iPhoneTriploid(12), kWidthProportion_In_iPhoneTriploid(14), kHeightProportion_In_iPhoneTriploid(21), kWidthProportion_In_iPhoneTriploid(9));
        textV.placeholder = @"输入内容，500字内";
        textV.placeholderAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:14],NSForegroundColorAttributeName:[UIColor colorWithHexString:@"#999999"]};
        textV.backgroundColor = [UIColor colorWithHexString:@"#F2F2F2"];
        self.textView = textV;
    }
    return self;
}

@end
